<?php

require_once(APPPATH.'models/component.php');

class pw_show_google_map extends Component
{
    public $id          = 'pw_show_google_map';
	public $title       = 'Show Static Google Maps';
	public $description = 'Make an imagen showing a pointer inside Google Maps';
	public $keywords    = 'image img';

    public $attributes = array(
        'static' => array(
            "id"        => 'static',
            "example"   => "true"
        ),
        'width' => array(
            "id"        => 'width',
            "example"   => "300"
        ),
        'height' => array(
            "id"        => 'height',
            "example"   => "300"
        ),
        'lat' => array(
            "id"        => 'lat',
            "example"   => "-54.811067"
        ),
        'lng' => array(
            "id"        => 'lng',
            "example"   => "-68.325732"
        ),
        'zoom' => array(
            "id"        => 'zoom',
            "example"   => "15"
        ),
        'maptype' => array(
            "id"        => 'maptype',
            "example"   => "roadmap"
        ),
    	'free' => array(
    		"id"        => 'free',
			"example"   => "title='an image'"
    	)
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_show_google_map

/* End of file pw_show_google_map.class.php */
/* Location: ./components/pw_show_google_map/pw_show_google_map.class.php */